<template>
	<div class="demo">
		<School></School>
		<h2>{{msg}}</h2>
		<button @click="show">点我欢迎你</button>
	</div>
</template>

<script>
	import School from './components/School.vue'
	export default {
		name:'App',
		components:{School},
		data() {
			return {
				msg:'我是App组件'
			}
		},
		methods: {
			show(){
				alert(666)
			}
		},
	}
</script>	

<style>
	.demo{
		background-color: orange;
	}
</style>
